import request from '@/utils/request'

// 查询bankAccount列表
export function listBankAccount(query) {
    return request({
        url: '/bizsys/bankAccount/list',
        method: 'get',
        params: query
    })
}

// 查询bankAccount详细
export function getBankAccount(id) {
    return request({
        url: '/bizsys/bankAccount/' + id,
        method: 'get'
    })
}

// 新增bankAccount
export function addBankAccount(data) {
    return request({
        url: '/bizsys/bankAccount',
        method: 'post',
        data: data
    })
}

// 修改bankAccount
export function updateBankAccount(data) {
    return request({
        url: '/bizsys/bankAccount',
        method: 'put',
        data: data
    })
}

// 删除bankAccount
export function delBankAccount(id) {
    return request({
        url: '/bizsys/bankAccount/' + id,
        method: 'delete'
    })
}

// 导出bankAccount
export function exportBankAccount(query) {
    return request({
        url: '/bizsys/bankAccount/export',
        method: 'get',
        params: query
    })
}